//--------------------------------------------------------------------
//     Author:Howe
//     Date: 2021-04-13 21:41:46 
//     Description:对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.Threading.Tasks;
using Kylin.Wiki.Core; 
using Kylin.Wiki.Services;
using Kylin.Wiki.Model.Entity;
using Kylin.Wiki.Model.Api;
using Kylin.Wiki.Model.Dto;
using Kylin.Wiki.Model.View;
using System.Collections.Generic;

namespace Kylin.Wiki.IService
{	
    /// <summary>
    /// IUserServices
    /// </summary>	
    public interface IUserService : IServices<User>
    {
        ApiResult<object> Login(LoginDTO loginDto);

        ApiPageResult<List<UserVM>> GetList(UserDTO userDTO);

        ApiResult<bool> CreateUser(CreateUserDTO createUserDTO);

        ApiResult<bool> UpdateUser(UpdateUserDTO updateUserDTO);

        ApiResult<UserInfoVM> GetUserInfo(int userId);
    }
  
} 
	